﻿using Ops.Host.Common.Domain;
using Ops.Host.Core.Models;

namespace Ops.Host.Core.Services;

/// <summary>
/// 字典服务
/// </summary>
public interface IDictInfoService : IDomainService
{
    (List<DictInfo> items, long count) GetPaged(DictInfoFilter filter, int pageIndex, int pageItems);

    Task<DictInfo> AddDictInfoAsync(DictInfo model);

    Task UpdateDictInfoAsync(DictInfo model);

    void DeleteDictInfo(int id);
}
